import { Component, Input } from '@angular/core';
@Component({
    selector: 'singlepwd',
    templateUrl: './singlepwd.component.html',
    styleUrls: ['./singlepwd.component.css']
})
export class SinglePwdComponent {
    @Input()
    private set singlePwdData(spd: SinglePwdData) {
        // console.log(11122);
        this.spd = spd;
    }
    private spd: SinglePwdData = {
        title: '',
        isCheck: false
    };

}

export interface SinglePwdData {
    title: string;
    isCheck: boolean;
}